[INFO] fetching crate traitor 0.0.0...
[INFO] fixing traitor-0.0.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate traitor 0.0.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate traitor 0.0.0
[INFO] finished tweaking crates.io crate traitor 0.0.0
[INFO] tweaked toml for crates.io crate traitor 0.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate traitor 0.0.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 14 packages to latest compatible versions
[INFO] [stderr]       Adding dynasmrt v0.2.3 (available: v5.0.0)
[INFO] [stderr]       Adding typed-arena v1.7.0 (available: v2.0.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c4e83c6bd530412861df184b8731881cbe825d8bc5c10c8dfed117049818b2ea
[INFO] running `Command { std: "docker" "start" "c4e83c6bd530412861df184b8731881cbe825d8bc5c10c8dfed117049818b2ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c4e83c6bd530412861df184b8731881cbe825d8bc5c10c8dfed117049818b2ea" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4e83c6bd530412861df184b8731881cbe825d8bc5c10c8dfed117049818b2ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c4e83c6bd530412861df184b8731881cbe825d8bc5c10c8dfed117049818b2ea" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]     Checking typed-arena v1.7.0
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]     Checking dynasmrt v0.2.3
[INFO] [stderr]    Compiling traitor-derive v0.0.0
[INFO] [stderr]     Checking traitor v0.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]        Fixed src/lib.rs (7 fixes)
[INFO] [stderr]    Migrating tests/box_drop.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/colored_string.rs from 2018 edition to 2021
[INFO] [stderr] error: errors present after applying fixes to crate `box_drop`
[INFO] [stderr]  --> tests/box_drop.rs
[INFO] [stderr]   = cause: error: expected identifier, found keyword `dyn`
[INFO] [stderr]             --> tests/box_drop.rs:6:7
[INFO] [stderr]              |
[INFO] [stderr]            6 | trait dyn Annotated {
[INFO] [stderr]              |       ^^^ expected identifier, found keyword
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected one of `:`, `<`, `=`, `where`, or `{`, found `Annotated`
[INFO] [stderr]             --> tests/box_drop.rs:6:11
[INFO] [stderr]              |
[INFO] [stderr]            6 | trait dyn Annotated {
[INFO] [stderr]              |           ^^^^^^^^^ expected one of `:`, `<`, `=`, `where`, or `{`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> tests/box_drop.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Annotated {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility`
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait dyn Annotated {
[INFO] [stdout]   |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/box_drop.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let bound: Box<Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder);
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let bound: Box<dyn Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder);
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | trait Colored {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility`
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | trait dyn Colored {
[INFO] [stdout]    |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:74:31
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn extract_data_ptr(colored: &Colored) -> *const () {
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn extract_data_ptr(colored: &dyn Colored) -> *const () {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let red_hello: &Colored = red_binder.bind(&data);
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let red_hello: &dyn Colored = red_binder.bind(&data);
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `colored_string`
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let green_hello: &Colored = green_binder.bind(&data);
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let green_hello: &dyn Colored = green_binder.bind(&data);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> tests/colored_string.rs
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let blue_hello: &Colored = blue_binder.bind(&data);
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let blue_hello: &dyn Colored = blue_binder.bind(&data);
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]   = cause: error: expected identifier, found keyword `dyn`
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> tests/colored_string.rs:77:36
[INFO] [stdout]    |
[INFO] [stdout] 77 |     unsafe { *(&colored as *const &Colored as *const *const ()) }
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 77 |     unsafe { *(&colored as *const &dyn Colored as *const *const ()) }
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]              --> tests/colored_string.rs:13:7
[INFO] [stderr]               |
[INFO] [stderr]            13 | trait dyn Colored {
[INFO] [stderr]               |       ^^^ expected identifier, found keyword
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: expected one of `:`, `<`, `=`, `where`, or `{`, found `Colored`
[INFO] [stderr]              --> tests/colored_string.rs:13:11
[INFO] [stderr]               |
[INFO] [stderr]            13 | trait dyn Colored {
[INFO] [stderr]               |           ^^^^^^^ expected one of `:`, `<`, `=`, `where`, or `{`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.73s
[INFO] [stderr] crater-edition-check: traitor v0.0.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking traitor v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(feature = "dynasm", feature(proc_macro_hygiene))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`
[INFO] [stdout]   = help: consider adding `dynasm` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm`
[INFO] [stdout]  --> src/lib.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(feature = "dynasm")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`
[INFO] [stdout]   = help: consider adding `dynasm` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm`
[INFO] [stdout]    --> src/lib.rs:205:11
[INFO] [stdout]     |
[INFO] [stdout] 205 |     #[cfg(feature = "dynasm")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`
[INFO] [stdout]     = help: consider adding `dynasm` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm`
[INFO] [stdout]    --> src/lib.rs:256:15
[INFO] [stdout]     |
[INFO] [stdout] 256 |     #[cfg(not(feature = "dynasm"))]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`
[INFO] [stdout]     = help: consider adding `dynasm` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![cfg_attr(feature = "dynasm", feature(proc_macro_hygiene))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`
[INFO] [stdout]   = help: consider adding `dynasm` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm`
[INFO] [stdout]  --> src/lib.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[cfg(feature = "dynasm")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected values for `feature` are: `default`
[INFO] [stdout]   = help: consider adding `dynasm` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm`
[INFO] [stdout]    --> src/lib.rs:205:11
[INFO] [stdout]     |
[INFO] [stdout] 205 |     #[cfg(feature = "dynasm")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`
[INFO] [stdout]     = help: consider adding `dynasm` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `dynasm`
[INFO] [stdout]    --> src/lib.rs:256:15
[INFO] [stdout]     |
[INFO] [stdout] 256 |     #[cfg(not(feature = "dynasm"))]
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`
[INFO] [stdout]     = help: consider adding `dynasm` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VirtualTableHeader` is never constructed
[INFO] [stdout]   --> src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct VirtualTableHeader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VirtualTableHeader` is never constructed
[INFO] [stdout]   --> src/lib.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | struct VirtualTableHeader {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]  --> tests/box_drop.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Annotated {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait dyn Annotated {
[INFO] [stdout]   |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]  --> tests/box_drop.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | trait Annotated {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | trait Colored {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 13 | trait dyn Colored {
[INFO] [stdout]    |       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | trait Colored {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:74:31
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn extract_data_ptr(colored: &Colored) -> *const () {
[INFO] [stdout]    |                               ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use a new generic type parameter, constrained by `Colored`
[INFO] [stdout]    |
[INFO] [stdout] 74 - fn extract_data_ptr(colored: &Colored) -> *const () {
[INFO] [stdout] 74 + fn extract_data_ptr<T: Colored>(colored: &T) -> *const () {
[INFO] [stdout]    |
[INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn extract_data_ptr(colored: &impl Colored) -> *const () {
[INFO] [stdout]    |                               ++++
[INFO] [stdout] help: alternatively, use a trait object to accept any type that implements `Colored`, accessing its methods at runtime using dynamic dispatch
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn extract_data_ptr(colored: &dyn Colored) -> *const () {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/box_drop.rs:34:20
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let bound: Box<Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder);
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let bound: Box<dyn Annotated> = bind_Annotated_box(Box::new(ValueWithDrop {}), binder);
[INFO] [stdout]    |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> tests/box_drop.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn hello<'data>(data: &'data ValueWithDrop, meta: &'data Metadata) -> &'static str {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `meta`
[INFO] [stdout]   --> tests/box_drop.rs:13:49
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn hello<'data>(data: &'data ValueWithDrop, meta: &'data Metadata) -> &'static str {
[INFO] [stdout]    |                                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_meta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0782`.
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let red_hello: &Colored = red_binder.bind(&data);
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let red_hello: &dyn Colored = red_binder.bind(&data);
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:58:23
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let green_hello: &Colored = green_binder.bind(&data);
[INFO] [stdout]    |                       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let green_hello: &dyn Colored = green_binder.bind(&data);
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:59:22
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let blue_hello: &Colored = blue_binder.bind(&data);
[INFO] [stdout]    |                      ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let blue_hello: &dyn Colored = blue_binder.bind(&data);
[INFO] [stdout]    |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: expected a type, found a trait
[INFO] [stdout]   --> tests/colored_string.rs:77:36
[INFO] [stdout]    |
[INFO] [stdout] 77 |     unsafe { *(&colored as *const &Colored as *const *const ()) }
[INFO] [stdout]    |                                    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object
[INFO] [stdout]    |
[INFO] [stdout] 77 |     unsafe { *(&colored as *const &dyn Colored as *const *const ()) }
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `traitor` (test "box_drop") due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0782`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `traitor` (test "colored_string") due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "c4e83c6bd530412861df184b8731881cbe825d8bc5c10c8dfed117049818b2ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4e83c6bd530412861df184b8731881cbe825d8bc5c10c8dfed117049818b2ea", kill_on_drop: false }`
[INFO] [stdout] c4e83c6bd530412861df184b8731881cbe825d8bc5c10c8dfed117049818b2ea
